Checking values in lists using if

welcome to shbcf.ru